/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package test.alan.hyperblobs;

import android.content.Context;
import android.opengl.GLSurfaceView;

/**
 *
 * @author Michael Zhang
 */
public class LevelView extends GLSurfaceView {

    /**
     * Our renderer
     */
    private final LevelDrawer mRenderer;

    /**
     *
     * @param context
     */
    public LevelView(Context context) {
        super(context);
        mRenderer = new LevelDrawer();
        setEGLContextClientVersion(2);
        setRenderer(mRenderer);
        setRenderMode(RENDERMODE_CONTINUOUSLY);
    }
}
